<%@ page language="java" pageEncoding="utf-8"%>
 <% HttpSession s =
request.getSession(); %>
<nav class="navbar navbar-inverse navbar-fixed-top">
	<div class="container">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed"
				data-toggle="collapse" data-target="#navbar" aria-expanded="false"
				aria-controls="navbar">
				<span class="sr-only">Toggle navigation</span> <span
					class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="#">iMES</a>
		</div>
		<div id="navbar" class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li class="active"><a href="#">Home</a></li>

				<li class="dropdown"><a herf="#" class="dropdown-toggle"
					data-toggle="dropdown" role="button" aria-expanded="false">About
						<span class="caret"></span>
				</a>
				<li><a href="#contact">Contact</a></li>
				<li class="dropdown"><a href="" id="userIdHref"> <s:text
							name="USER_ID_TAG" />:<span id="userId">${sessionScope.userInfo.user_id}</span>
				</a>
			</ul>
			<ul class="nav navbar-nav navbar-right" id="loginNav">
				<li class="dropdown"><a herf="#" class="dropdown-toggle"
					data-toggle="dropdown" role="button" aria-expanded="false"><span
						class="glyphicon glyphicon-user"></span>
						${sessionScope.userInfo.user_id} </a>
					<ul class="dropdown-menu" role="menu">
						<li><a href="#">修改密码</a></li>
						<li class="divider"></li>
						<li><a href="com/logoff.action">退出</a></li>
					</ul></li>
			</ul>
		</div>
	</div>
</nav>